import axios from '../../../axios';
const SALES = "/sales";

export default {
    // 获取该销售员数据
    getSalesById(params) {
        return axios({
            url: SALES + "/getSalesById",
            method: "get",
            params
        })
    },
    //修改该销售员的信息
    modifySales(data) {
        return axios({
            url: SALES + "/modifySales",
            method: "post",
            data
        })
    },
}
